package com.bqjr.xms.modle;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Description: ConsumerBeehiveUser.
 * Created by XHZ on 2017/8/6.
 */
@Component
@ConfigurationProperties(prefix="server") //接收application.yml中的myProps下面的属性
public class ProviderUserConfig {
    private String port;

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
}
